package com.hualan.service;

import com.hualan.pojo.Consultant;
import com.hualan.pojo.PageResult;
import com.hualan.pojo.Result;

import java.util.List;

public interface ConsultantService {
    PageResult queryAllConsultant(String name, Integer page, Integer pageSize);
    Result addConsultant(Consultant consultant);
    Result updateConsultant(Consultant consultant);
    Result deleteConsultant(List<Integer> ids);
    void updateConsultantName(Integer id, String name);
    Consultant searchById(Integer id);
    List<Consultant> find(String field,String levelName);
}
